package com.insea.service.impl;


import java.util.List;

import com.insea.dao.FactureDao;
import com.insea.model.Facture;
import com.insea.service.FactureManager;

public class FactureManagerImpl extends GenericManagerImpl<Facture, Long> implements FactureManager{

	FactureDao factureDao;
	
	public FactureManagerImpl(FactureDao factureDao) {
        super(factureDao);
        this.factureDao = factureDao;
    }
	
	public void saveFacture(Facture facture) {
		factureDao.saveFacture(facture);
	}

	public List getFacturesByNum(String query) {
		return (List) factureDao.getFactureByNum(query);
	}
	
	

}
